package com.hawthorn.admin.service.appuser;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
* <p>todo app用户interface</p>
* @author: sunwanzhong
–
* @created: 2023/2/14 21:45
* @version v1.0.1
* @copyright: Copyright (c) 2023 sunwanzhong
*/
public interface AppUserService {
  Map<String, Object> saveAppUser(Map<String, Object> param);
  /**
   * generator->查询
   */
  IPage<Map<String, Object>> findAppUser(Page<Map<String, Object>> page, String qc);
  /**
   * generator->导出方法
   */
  void exportAppUser(HttpServletResponse response, String fileName, Map<String, Object> params) throws IOException;

  Map<String, Object> updateAppUserPhone(Map<String, Object> param);

  void updateAppUserInfo(Map<String, Object> param);

  void delAppUser(String id);

  Map<String, Object> findIsExist(Map<String, Object> param);
}
